Curves extension

Version 1.0
Written by Homunculus

Introduction

This extension provides some function that will help drawing bézier curves.

Functions

draw_curve(x1,y1,x2,y2,x3,y3,x4,y4,prec); Draws a curve from point x1,y1 to point x2,y2. Point x3,y3 defines the control for point x1,y1, point x4,y4 defines the control for point x2,y2. Prec defines the precision of the curve (how much round it is). A good value for that can be 20.